<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>数据配置</title>

</head>
<style>
    .layui-form-label {
        width: 120px!important;
    }
    .layui-input-block {
        margin-left: 150px!important;
    }
</style>
<body>
    <div th:include="load"></div>
    <div class="layui-row layui-col-space15 layui-anim layui-anim-upbit">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header layui-form">
                    <span class="layui-breadcrumb">
                        <a href="javascript:void(0)">代码生成器</a>
                        <a><cite>生成代码</cite></a>
                    </span>
                </div>
                <div class="layui-card-body">
                    <table id="data_table" class="layui-hide" lay-filter="data_table"></table>
                </div>
            </div>
        </div>
    </div>

    <!-- 新增编辑表单 -->
    <form class="layui-form" id="field_form" action="" lay-filter="field_form" style="padding:10px;display: none;">
        <table id="field_data_table" class="layui-hide" lay-filter="field_data_table"></table>
        <div class="layui-form-item" style="text-align: center;margin-top: 20px;">
            <a class="layui-btn" id="add_one" style="margin-left: 5px;"><i class="layui-icon">&#xe601;</i>生成代码</a>
            <a class="layui-btn layui-btn-primary lay-close-btn">关闭</a>
        </div>
    </form>
</body>

<script type="text/html" id="toolberLeft">
    <div class="layui-form">
        <a class="layui-btn layui-btn-sm" lay-event="add" style="margin-left: 5px;"><i class="layui-icon">&#xe601;</i>生成代码</a>
    </div>
</script>
<script type="text/html" id="toolRow">
    <a class="layui-btn layui-btn-xs" lay-event="edit">选择生成代码</a>
</script>

<script type="text/javascript" th:src="@{/js/generator/generator_code.js}"></script>

</html>